#pragma once


// CBaseEdit
typedef void (*SetOnSetFocus)(CDialogEx*,CEdit*);

class CBaseEdit : public CEdit
{
	DECLARE_DYNAMIC(CBaseEdit)

public:
	CBaseEdit();
	virtual ~CBaseEdit();

protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnEnSetfocus();
	void setOnSetFocus(CDialogEx* dlg,SetOnSetFocus listener);

private:
	SetOnSetFocus listener;
	CDialogEx* dlg;
};



